package com.service;

import com.controller.PaginationSupport;
import com.entity.Department;
import com.form.Message;

public interface DepartmentService {
    PaginationSupport<Department> checkDepartments(int pageNo, int pageSize);

    Message updateDepart(Department department);

    Message addDepart(Department department);

    Message deleteDepartmentById(int departmentId);

    PaginationSupport<Department> findDepartsByKeys(int pageNo, int pageSize, String keys);

    int countDepartmentByRanking(String ranking) ;
}
